Update position of toplevels after display reconfiguration
authorKristian Rietveld <kris@gtk.org>
Mon, 26 Oct 2009 08:20:28 +0000 (09:20 +0100)
committerKristian Rietveld <kris@gtk.org>
Mon, 26 Oct 2009 08:52:54 +0000 (09:52 +0100)
commitfa8fa48ef1fa91b40a7ad292b93d1edd72e0d2b6
tree22020bb15c8346711a1680449d48a31dac20f563
parenta4d932cc641504bbb1de3e7ac0e8d02e6df47267
Update position of toplevels after display reconfiguration

We have to do this, especially after the screen containing the menubar
has changed.  Such more larger changes in monitor geometry will cause
changes to how monitors are laid out in the root window.  The position
coordinates of the windows will have to be updated to reflect their
position in the new layout.
gdk/quartz/GdkQuartzWindow.c
gdk/quartz/gdkprivate-quartz.h
gdk/quartz/gdkscreen-quartz.c
gdk/quartz/gdkwindow-quartz.c